Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

248
Vistas
What is meant when a framework/library says "compile to Javascript"?

I was looking at elm: https://guide.elm-lang.org/

I see this type of phrase on some languages/frameworks: X is a language that compiles to JavaScript.

Does language X literally compile to another interpreted language? (I would see JS) Or Bytecode of that language? (I would see bytes/hex etc.)

If compiled to JS - would that mean the code can only go as fast as JS does?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

Does language X literally compile to another interpreted language?

Yes, that's correct. You write code in elm, and then compile it into the equivalent javascript code. It needs to be in javascript, because that's what the browser understands (WebAssembly does exist, so javascript isn't technically the only option, but not everything is designed with WebAssembly in mind)

If compiled to JS - would that mean the code can only go as fast as JS does? (a lot of frameworks/languages tout how fast they are)

Yes. Though it could allow you to write high quality, efficient javascript code more easily, which is generally what they mean when they say it's fast.

about 4 years ago · Juan Pablo Isaza Denunciar

0

Does language X literally compile to another interpreted language?

Yes, indeed. 'Transpilation' is the actual term of transforming one high-level language into another.

If compiled to JS - would that mean the code can only go as fast as JS does? (a lot of frameworks/languages tout how fast they are)

In the course of transpilation, the transpilers usually apply optimizations to produce highly efficient JavaScript that has the potential to be way faster than the average handwritten JavaScript.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda